#include <iostream>
#include "A.h"

using namespace std;

void modify(A *pA, int _a){
        pA->a = _a;
}

int main01(int argc, char const *argv[]){
        A a1(1, 2);

        cout<<a1.getA()<<endl;

        modify(&a1, 300);
        cout<<a1.getA()<<endl;

        return 0;
}

int main(int argc, char const *argv[])
{
        B b1;
        b1.Set(300);
        b1.printB();        
        return 0;
}
